Added a -f option to force the creation of teh makefile. Added some checks too