using remote scripts to fix travis build