modify script in order to have no  error 'permission denied' under travis