Change before install to before script for copy keystore