Changed default perms and added the .jar in /out/artifacts.