Fixed some scripts and added LICENSE