1. preinstall, python and java
2. don't use compact script in scripts