added the script to makefile instead of startup script