[BUGFIX] fix file name and add environment to rake