First, let me start by saying I am not in any way a software developer by trade.
I started developing some automation scripts (a light version of software language) for the company I work for. I was not asked to do so at any point. I have since seen the large financial value of such scripts elsewhere online, and undoubtedly the value is considerably higher than my normal time, which again, was not geared toward scripting.
As I understand it, the work-for-hire clause most likely grants the copyright to my employer. However, as the sole writer of these scripts, and since I am still employed at this company, would it be legal to make the license of the scripts expire, and force the company to effectively "contract" me and purchase a new license directly from me? I have seen other employees do similar contracting for the owner on matters relating to graphic design that had nothing to do with their regular responsibilities. The main difference in terms of legality is that my works already exist.
I've actually already placed a license on all of them set to expire on April 30, 2012. I just want to ensure this is legal.

