Modifying the base script for a workaround on Tokyo cloud