Changed some scripts for jar creation