Small fixes in scripts for slug