Made build script ready for central repository