replaced mono.ceil version with shell script